home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 6984 / 6984.xpi / chrome / lazarus.jar / content / options.xul < prev    next >
Extensible Markup Language  |  2009-11-24  |  12KB  |  199 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://lazarus/skin/options.css" type="text/css"?>
  4. <!DOCTYPE prefwindow SYSTEM "chrome://lazarus/locale/options.dtd">
  5.  
  6. <prefwindow id="lazarusOptions" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  7.     title="&window.title;" onload="init()" width="580">
  8.     
  9.     
  10.     <!--prefpane id="welcome-pane" label="&welcome.pane.title;" flex="1" image="chrome://lazarus/skin/lazarus-32.png">
  11.         <preferences />
  12.         <description class="header">&welcome.title;</description>
  13.         <description class="lazarus-welcome-message">&welcome.message;</description>
  14.     </prefpane-->
  15.     
  16.     <prefpane id="general-pane" label="&general.pane.title;" flex="1" image="chrome://lazarus/skin/general-options-32.png">
  17.         <preferences>
  18.             <preference id="extensions.lazarus.saveSearchForms" name="extensions.lazarus.saveSearchForms" type="bool"/>
  19.             <preference id="extensions.lazarus.savePasswordFields" name="extensions.lazarus.savePasswordFields" type="bool"/>
  20.             <preference id="extensions.lazarus.saveHiddenFields" name="extensions.lazarus.saveHiddenFields" type="bool"/>
  21.             <preference id="extensions.lazarus.expireSavedForms" name="extensions.lazarus.expireSavedForms" type="bool"/>
  22.             <preference id="extensions.lazarus.expireSavedFormsInterval" name="extensions.lazarus.expireSavedFormsInterval" type="int"/>
  23.             <preference id="extensions.lazarus.expireSavedFormsUnit" name="extensions.lazarus.expireSavedFormsUnit" type="int"/>
  24.             <preference id="extensions.lazarus.showInStatusbar" name="extensions.lazarus.showInStatusbar" type="bool"/>
  25.             <preference id="extensions.lazarus.showFormTextInSubMenu" name="extensions.lazarus.showFormTextInSubMenu" type="bool"/>
  26.             <preference id="extensions.lazarus.checkForUpdates" name="extensions.lazarus.checkForUpdates" type="bool"/>
  27.             <preference id="extensions.lazarus.checkForUpdatesBeta" name="extensions.lazarus.checkForUpdatesBeta" type="bool"/>
  28.             <preference id="extensions.lazarus.disableSearch" name="extensions.lazarus.disableSearch" type="bool"/>
  29.             <preference id="extensions.lazarus.showDonateNotification" name="extensions.lazarus.showDonateNotification" type="bool"/>
  30.             <preference id="extensions.lazarus.showContextMenuIcons" name="extensions.lazarus.showContextMenuIcons" type="bool"/>
  31.             <preference id="extensions.lazarus.enableInPrivateBrowsingMode" name="extensions.lazarus.enableInPrivateBrowsingMode" type="bool"/>
  32.             <preference id="extensions.lazarus.backupDatabase" name="extensions.lazarus.backupDatabase" type="bool"/>
  33.         </preferences>
  34.         
  35.         <vbox class="pref-box" id="extensions-lazarus-saveSearchForms-box">
  36.             <checkbox id="extensions.lazarus.saveSearchForms" preference="extensions.lazarus.saveSearchForms" label="&saveSearchForms.label;" />
  37.             <description class="lazarus-description">&saveSearchForms.description;</description>
  38.         </vbox>
  39.         
  40.         <vbox class="pref-box">
  41.             <radiogroup id="extensions.lazarus.showFormTextInSubMenu" preference="extensions.lazarus.showFormTextInSubMenu">
  42.                 <hbox>
  43.                 <radio label="&useFormTextForSubmenuItems;" value="true" />
  44.                 <radio label="&useTimeForSubmenuItems;" value="false" />
  45.                 </hbox>
  46.             </radiogroup>
  47.             
  48.             <description class="lazarus-description">&showFormTextInSubMenu.description;</description>
  49.         </vbox>
  50.         
  51.         <vbox class="pref-box">
  52.             <checkbox id="extensions.lazarus.showContextMenuIcons" preference="extensions.lazarus.showContextMenuIcons" label="&showContextMenuIcons.label;" />
  53.             <description class="lazarus-description">&showContextMenuIcons.description;</description>
  54.         </vbox>
  55.         
  56.         <vbox class="pref-box">
  57.             <checkbox id="extensions.lazarus.showInStatusbar" preference="extensions.lazarus.showInStatusbar" label="&showInStatusbar.label;" />
  58.             <description class="lazarus-description">&showInStatusbar.description;</description>
  59.         </vbox>
  60.         
  61.         <vbox class="pref-box">
  62.             <checkbox id="extensions.lazarus.showDonateNotification" preference="extensions.lazarus.showDonateNotification" label="&showDonateNotification.label;" />
  63.             <description class="lazarus-description">&showDonateNotification.description;</description>
  64.         </vbox>
  65.         
  66.         <!-- removing due to mozilla policy of not allowing updates from anywhere except mozilla 
  67.         
  68.         <vbox class="pref-box">
  69.             <checkbox id="extensions.lazarus.checkForUpdates" preference="extensions.lazarus.checkForUpdates" label="&checkForUpdates.label;" oncommand="Lazarus.$('extensions.lazarus.checkForUpdatesBeta').disabled = !this.checked" />
  70.             <checkbox id="extensions.lazarus.checkForUpdatesBeta" preference="extensions.lazarus.checkForUpdatesBeta" label="&checkForUpdatesBeta.label;" />
  71.             <description class="lazarus-description">&checkForUpdates.description;</description>
  72.         </vbox>
  73.         -->
  74.         
  75.     </prefpane>
  76.   
  77.   
  78.     <prefpane id="security-pane" label="&security.pane.title;" flex="1" image="chrome://lazarus/skin/security-32.png">
  79.     
  80.         <vbox class="pref-box">
  81.             <checkbox id="extensions.lazarus.savePasswordFields" preference="extensions.lazarus.savePasswordFields" label="&savePasswordFields.label;" />
  82.             <description class="lazarus-description">&savePasswordFields.description;</description>
  83.         </vbox>
  84.         
  85.         <!--vbox class="pref-box">
  86.             <checkbox id="extensions.lazarus.saveHiddenFields" preference="extensions.lazarus.saveHiddenFields" label="&saveHiddenFields.label;" />
  87.             <description class="lazarus-description">&saveHiddenFields.description;</description>
  88.         </vbox-->
  89.         
  90.         <vbox class="pref-box"> 
  91.             <hbox>
  92.                 <checkbox id="extensions-lazarus-expireSavedForms" preference="extensions.lazarus.expireSavedForms" oncommand="toggleExpireSaveForms(this.checked, true)" label="&expireSavedForms.label;" /> 
  93.                 <textbox id="extensions-lazarus-expireSavedFormsInterval" preference="extensions.lazarus.expireSavedFormsInterval" class="lazarus-intbox"/>
  94.                 <menulist id="extensions-lazarus-expireSavedFormsUnit" preference="extensions.lazarus.expireSavedFormsUnit" >
  95.                   <menupopup>
  96.                     <menuitem label="&minutes;" value="1" />
  97.                     <menuitem label="&hours;" value="60" />
  98.                     <menuitem label="&days;" value="1440" />
  99.                     <menuitem label="&weeks;" value="10080" />
  100.                   </menupopup>
  101.                 </menulist>
  102.             </hbox>
  103.             <description class="lazarus-description">&expireSavedForms.description;</description>                            
  104.         </vbox>
  105.         
  106.         <vbox>
  107.             <hbox>
  108.                 <checkbox id="usePassword" oncommand="onUsePassword(this)" label="&usePassword.label;" /> 
  109.                 <spacer flex="1" />
  110.                 <button id="changePassword" oncommand="openChangePasswordDialog()" label="&changePassword;" />
  111.                 <button id="resetPassword" oncommand="openResetPasswordDialog()" label="&resetPassword;" />
  112.             </hbox>
  113.             <description class="lazarus-description">&changePassword.description;</description>
  114.             <description class="lazarus-description-important">&changePassword.description.extra;</description>
  115.         </vbox>
  116.         
  117.         <vbox class="pref-box">
  118.             <checkbox id="extensions.lazarus.disableSearch" preference="extensions.lazarus.disableSearch" label="&disableSearch.label;" />
  119.             <description class="lazarus-description">&disableSearch.description;</description>
  120.             <label class="lazarus-text-link" href="http://lazarus.interclue.com/faq.html#disable-search" value="&disableSearch.description.link;" />
  121.         </vbox>
  122.                 
  123.                 <vbox class="pref-box">
  124.             <checkbox id="extensions.lazarus.enableInPrivateBrowsingMode" preference="extensions.lazarus.enableInPrivateBrowsingMode" label="&enableInPrivateBrowsingMode.label;" />
  125.             <description class="lazarus-description">&enableInPrivateBrowsingMode.description;</description>
  126.         </vbox>
  127.         
  128.     </prefpane>
  129.     
  130.     <prefpane id="database-pane" label="&database.pane.title;" flex="1" image="chrome://lazarus/skin/database-32.png">
  131.         
  132.         <vbox id="db-description">
  133.           <label id="db-path" />
  134.           <label id="db-size" />
  135.           <label id="db-backup" />
  136.           <checkbox id="extensions.lazarus.backupDatabase" preference="extensions.lazarus.backupDatabase" label="&backupDatabase.label;" />
  137.         </vbox>
  138.         
  139.         <vbox class="pref-box" id="text-manager-box">
  140.             <hbox>
  141.             <button label="&textManager.title;" oncommand="openTextManager()" />
  142.             <spacer flex="1" />
  143.             </hbox>
  144.             <description class="lazarus-description">&textManager.description;</description>
  145.         </vbox>
  146.         
  147.         <vbox class="pref-box">
  148.             <hbox>
  149.             <button id="extensions.lazarus.removeForms" label="&removeForms.title;" oncommand="if (enterPassword() && confirm('&removeForms.confirm;')){removeForms()}" />
  150.             <spacer flex="1" />
  151.             </hbox>
  152.             <description class="lazarus-description">&removeForms.description;</description>
  153.         </vbox>
  154.         
  155.         <vbox class="pref-box" id="remove-templates-box">
  156.             <hbox>
  157.             <button id="extensions.lazarus.removeTemplates" label="&removeTemplates.title;" oncommand="if (enterPassword() && confirm('&removeTemplates.confirm;')){removeTemplates()}" />
  158.             <spacer flex="1" />
  159.             </hbox>
  160.             <description class="lazarus-description">&removeTemplates.description;</description>
  161.         </vbox>
  162.         
  163.         <vbox class="pref-box" id="clean-database-box">
  164.             <hbox>
  165.             <button id="extensions.lazarus.cleanDatabase" label="&cleanDatabase.title;" oncommand="onCleanDatabase()" />
  166.             <progressmeter id="extensions.lazarus.cleanDatabaseProgress" mode="undetermined" hidden="true"/>
  167.             <spacer flex="1" />
  168.             </hbox>
  169.             <description class="lazarus-description">&cleanDatabase.description;</description>
  170.         </vbox>
  171.         
  172.         <vbox class="pref-box" id="restore-database-box">
  173.             <hbox>
  174.             <button id="extensions.lazarus.restoreDatabase" label="&restoreDatabase.title;" oncommand="onRestoreDatabase()" />
  175.             <spacer flex="1" />
  176.             </hbox>
  177.             <description class="lazarus-description">&restoreDatabase.description;</description>
  178.         </vbox>
  179.         
  180.         <vbox class="pref-box" id="delete-database-box">
  181.             <hbox>
  182.             <button id="extensions.lazarus.deleteDatabase" label="&deleteDatabase.title;" oncommand="onDeleteDatabase()" />
  183.             <spacer flex="1" />
  184.             </hbox>
  185.             <description class="lazarus-description">&deleteDatabase.description;</description>
  186.         </vbox>
  187.     
  188.     </prefpane>
  189.   
  190.     <script type="text/javascript" src="common.js"></script>
  191.     <script type="text/javascript" src="options.js"></script>
  192.     <script type="text/javascript" src="background-task.js"></script>
  193.     
  194.     <script type="text/javascript" src="file.js"></script>
  195.  
  196. </prefwindow>
  197.  
  198.  
  199.